package com.csun.cmny.provider.model.dto.comments;

import lombok.Data;
import org.apache.ibatis.type.Alias;

import javax.persistence.*;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class CommentsSaveDto {



    /*工单id*/
    @NotNull(message = "{comments.indentId.null}")
    private Long serviceOrderId;

    /*人员评论星级 0-零星 1-一星 2-二星 3-三星 4-四星 5-五星*/
    @NotNull(message = "{comments.starLevel.null}")
    private Integer peopleStarLevel;

    /*项目评论星级 0-零星 1-一星 2-二星 3-三星 4-四星 5-五星*/
    @NotNull(message = "{comments.starLevel.null}")
    private Integer starLevel;


    /*评论内容*/
    @NotEmpty(message = "{comments.contents.null}")
    private String contents;


}
